package com.ruoyi.worker.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;
import java.util.List;

/**
 * @ClassName: UserDayAttendanceSum
 * @Description:
 * @Author: 刘松山
 * @Date: 2021/10/18 14:32
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class UserDayAttendanceSum extends BaseEntity {

    private long id;
    private long   groupId;
    @Excel(name = "考勤组", width = 15)
    private String  groupName;


    @Excel(name = "考勤日期", width = 15)
    private String  dateTime;
    /**
     * 创建者
     */
    @Excel(name = "来源", width = 15)
    private String createBy;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上传时间", width = 15)
    private Date createTime;
    @Excel(name = "普通迟到人数", width = 20)
    private int late ;
    @Excel(name = "一般迟到人数", width = 20)
    private int generallyLate;
    @Excel(name = "严重迟到人数", width = 20)
    private int  seriouslyLate;
    @Excel(name = "早退人数", width = 15)
    private int  leaveEarly;
    @Excel(name = "旷工人数", width = 15)
    private int absenteeism;
    @Excel(name = "应出勤人数", width = 15)
    private int mustAttendance;
    @Excel(name = "实际出勤人数", width = 15)
    private int normalAttendance;
    @Excel(name = "异常人数", width = 15)
    private int abnormalAttendance;
    @Excel(name = "休息人数", width = 15)
    private int  restAttendance;

    private List<UserDayAttendance> userDayAttendanceList;
}
